﻿
<UserControl x:Class="SQLServerOptimizer.PL.WPF.PerformanceDashboardControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:viewer="clr-namespace:Microsoft.Reporting.WinForms;assembly=Microsoft.ReportViewer.WinForms"
             mc:Ignorable="d"
			 xmlns:s="clr-namespace:System;assembly=mscorlib" Name="PerfromanceDashboardControl"
             xmlns:sys="clr-namespace:System;assembly=mscorlib" 
             Loaded="UserControl_Loaded" d:DesignHeight="450" d:DesignWidth="750">

    <Grid >
       
        <DockPanel Grid.Column="1" LastChildFill="True">
        
            	<Border
        		BorderBrush="Black"
        		BorderThickness="1"
        		CornerRadius="0"
      
    >
        		<Grid Grid.Column="1" Grid.Row="1">
        			<Border BorderBrush="Black"   x:Name="mask"  Background="White" CornerRadius="0" />

                       
        			<WindowsFormsHost x:Name="wfh_rptPerformanceDashboard"   Background="Transparent" Margin="5">
        				<WindowsFormsHost.OpacityMask>
        					<VisualBrush Visual="{Binding ElementName=mask}"/>
        				</WindowsFormsHost.OpacityMask>
                        <viewer:ReportViewer  ProcessingMode="Local" Name="rptPerformanceDashboard"  BorderStyle="None"   />
        			</WindowsFormsHost>
                   
        		</Grid>
        	</Border>
	    </DockPanel>
    </Grid>

</UserControl>
